package net.betou.cms.manager.main;

import java.util.List;

import net.betou.cms.entity.main.CmsGroup;

public interface CmsGroupMng{
	public List< CmsGroup > getList( );

	public CmsGroup getRegDef( );

	public CmsGroup findById( Integer id );

	public void updateRegDef( Integer regDefId );

	public CmsGroup save( CmsGroup bean );

	public CmsGroup save( CmsGroup bean, Integer [ ] viewGroupIds, Integer [ ] contriGroupIds );

	public CmsGroup update( CmsGroup bean );

	public CmsGroup update( CmsGroup bean, Integer [ ] viewGroupIds, Integer [ ] contriGroupIds );

	public CmsGroup deleteById( Integer id );

	public CmsGroup [ ] deleteByIds( Integer [ ] ids );

	public CmsGroup [ ] updatePriority( Integer [ ] ids, Integer [ ] priority );
}